package org.neurone.domain.persistence;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.neurone.domain.UserInfo;
import org.neurone.domain.UserDetailInfo;

/**
 * 用户详细信息
 * @author Administrator
 *
 */
@Entity
@Table(name="TUserDetail")
public class UserDetailInfoPersistence extends UserDetailInfo implements java.io.Serializable {


	/* (non-Javadoc)
	 * @see org.neurone.domain.IUserDetailInfo#getUserDetailInfoID()
	 */
	@Id
	@Column
	public Long getUserDetailInfoID() {
		return userDetailInfoID;
	}

	/* (non-Javadoc)
	 * @see org.neurone.domain.IUserDetailInfo#getKeyName()
	 */
	@Column
	public String getKeyName() {
		return keyName;
	}

	/* (non-Javadoc)
	 * @see org.neurone.domain.IUserDetailInfo#getKeyValue()
	 */
	@Column
	public String getKeyValue() {
		return keyValue;
	}

	public void setUserDetailInfoID(Long userDetailInfoID) {
		this.userDetailInfoID = userDetailInfoID;
	}

	public void setKeyName(String keyName) {
		this.keyName = keyName;
	}

	public void setKeyValue(String keyValue) {
		this.keyValue = keyValue;
	}

	@Override
	@ManyToOne(targetEntity=UserInfoPersistence.class)
	public UserInfo getBelongUser() {
		return this.belongUser;
	}

	public void setBelongUser(UserInfo belongUser) {
		this.belongUser = belongUser;
	}


		
}
